package com.erbao.thread.juc;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @author CaoBaoYin
 * @since 22/3/9 10:35
 */
public class WorkStealingTest {

    public static void main(String[] args) {
        ExecutorService executorService = Executors.newWorkStealingPool();
        System.out.println(Runtime.getRuntime().availableProcessors());
    }

}
